<template>
	<van-dialog :show="tipsShow" title="提示" :message="messages" :show-cancel-button="cancelText?true: false"
		:confirm-button-text="confirmText" :cancel-button-text="cancelText" @cancel="$emit('getDialogCancel')"
		@confirm="$emit('getDialogConfirm')" />
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		props: {
			messages: {
				type: String,
				default: ''
			},
			confirmText: {
				type: String,
				default: ''
			},
			cancelText: {
				type: String,
				default: ''
			},
			tipsShow: {
				type: Boolean,
				default: false
			}
		}
	}
</script>

<style>
</style>
